//
//  HttpClient.h
//  esan_cloud_core
//
//  Created by TianMing on 2018/9/20.
//  Copyright © 2018年 esandinfo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface HttpClient : NSObject
typedef void (^ClientCallback)(NSString* resultStr);
- (id) initWithNSURL:(NSURL *)nsURL;
- (void) requestSync:(NSString *)bodyString appCode:(NSString *) appCode clientCallback:(ClientCallback) clientCallback;
- (void) requestSync:(NSString *)bodyString  clientCallback:(ClientCallback) clientCallback;
@end
